package com.wholeintech.entity;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;


@Table(name = "Project")
public class ProjectInfo extends EntityBase {
    @Column(name = "name")
    private String name;

    @Column(name = "room")
    private String room;

    @Column(name = "address")
    private String address;

    @Column(name = "city")
    private String city;

    @Column(name = "district")
    private String district;

    @Column(name = "country")
    private String country;

    @Column(name = "province")
    private String province;

    @Column(name = "houseId")
    private String houseId;

    @Column(name = "boxIndex")
    private int boxIndex;


    public void setIndex(int index) {
        this.boxIndex = index;
    }

    public int getIndex() {
        return boxIndex;
    }

    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRoom() {
        return room;
    }

    public void setRoom(String roomStr) {
        this.room = roomStr;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    @Override
    public String toString() {
        return String.format("name=%s, country=%s, province=%s, city=%s district=%s \n address=%s, room=%s, houseId=%s, boxIndex=%d"
                , name, country, province, city, district, address, room, houseId, boxIndex);
    }
}
